﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Yu.Cms.Model
{
    /// <summary>
    /// Tags:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public  class Tags
    {
        public Tags()
        { }
        #region Model
        private int _tagid;
        private string _tag;
        private int _tnum = 0;
        private string _taids;
        /// <summary>
        /// 
        /// </summary>
        public int tagid
        {
            set { _tagid = value; }
            get { return _tagid; }
        }
        /// <summary>
        /// 存放tag名称
        /// </summary>
        public string tag
        {
            set { _tag = value; }
            get { return _tag; }
        }
        /// <summary>
        /// 存放使用这个tag的文章总数
        /// </summary>
        public int tnum
        {
            set { _tnum = value; }
            get { return _tnum; }
        }
        /// <summary>
        /// 以 "," 分隔所有使用这个tag的文章id
        /// </summary>
        public string taids
        {
            set { _taids = value; }
            get { return _taids; }
        }
        #endregion Model

    }
}
